package com.qf.statics;

import com.qf.service.UserService;
import com.qf.service.impl.UserServiceImpl;

public class StaticProxy implements UserService {
    private UserService userService = new UserServiceImpl();
    @Override
    public void add() {
        System.out.println("中介: 代理+++");
        userService.add();
        System.out.println("中介: 结束---");
    }
}
